interface FilterState {}
export function useFilterPannel(search:IFn) {
    const filterState = ref(getInitialState())
    const { state: filterCollapsed, toggle, on } = useSwitch(true)
    function getInitialState(): FilterState {
        return {}
    }
    function toggleFilter() {
        toggle()
        // TODO
    }
    function resetFilter() {
        on()
        // TODO
    }
    function confirmFilter() {
        on()
        // TODO
    }
    return {
        filterState,
        filterCollapsed,
        toggleFilter,
        resetFilter,
        confirmFilter
    }
}